package com.byzx.wine.service;

import java.util.List;
import java.util.Map;

import com.byzx.wine.po.Purchase;
import com.byzx.wine.util.Page;

public interface IPurchaseService {

    Page<Map<String, Object>> findPage(Page<Map<String, Object>> page);
	
	public int insert(Purchase purchase);
	
	
	public  Purchase selectByPrimaryKey(Integer id);
	 
	public  int updateByPrimaryKeySelective(Purchase purchase);
		 
    public  int deleteByPrimaryKey(Integer id);
    
   public List<Map<String,Object>> findall(Integer wineid);
}
